@import url('https://rsms.me/inter/inter.css');

html,
body,
#root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

body {
  overscroll-behavior: none;
  background: #2d2d2d url('./images/bg.jpg') repeat;
  cursor: url(''),
    auto;
}

body::before, body::after {
  display: inline-block;
  content: '';
  height: 24px;
  width: 100%;
  background: #2d2d2d url('./images/border.png') repeat-x center;
  position: fixed;
  z-index: 10;
}

body::before {
  left: 0;
  top: 0;
}

body::after {
  left: 0;
  bottom: 0;
}

.sheikah-box {
  position: fixed;
  height: 180px;
  width: 180px;
  background: url('./images/sheikah_bg.png') no-repeat center;
  background-size: contain;
  bottom: 48px;
  right: 24px;
}

.sheikah-box::before {
  display: inline-block;
  content: '';
  height: 50%;
  width: 50%;
  background: radial-gradient(ellipse at center, #90d7ed -10%, #008aae 40%, #008aae 60%, rgba(0,138,174,0) 70%);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25%;
  margin-left: -25%;
  animation: sheikah-bg 6s ease-in-out infinite;
}

.sheikah-box::after {
  display: inline-block;
  content: '';
  height: 160px;
  width: 160px;
  background: url('./images/sheikah.png') no-repeat center;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -80px;
  margin-left: -80px;
  animation: sheikah 8s linear infinite;
}

.text {
  font-size: 20vw;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.7em;
  margin: 0;
  padding: 0;
  color: #b0976d;
  position: absolute;
}

.text:nth-of-type(1) {
  top: 120vh;
  left: .5vw;
}
.text:nth-of-type(2) {
  top: 270vh;
  left: 75vw;
  color: #ffffff;
}
.text:nth-of-type(3) {
  top: 380vh;
  left: .5vw;
}

.text:nth-of-type(4) {
  top: 530vh;
  left: 70vw;
  font-size: 24vw;
}

.github {
  position: fixed;
  left: 0;
  bottom: 24px;
  z-index: 11;
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 16px;
  transition: all .25s ease-in-out;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

.github:hover {
  opacity: .5;
}

.github .author {
  padding-left: 8px;
}

*::-webkit-scrollbar {
  width: 4px !important;
  background: 0 0 !important;
  cursor: pointer !important
}
*::-webkit-scrollbar-thumb {
  background-color: #2e2624 !important;
  border-radius: 4px !important;
  border-color: transparent !important;
  border-style: solid !important;
  border-width: 1px !important;
  background-clip: padding-box !important
}
*::-webkit-scrollbar-thumb:active {
  background-color: #2e2624 !important
}
*::-webkit-scrollbar-thumb:active,body.platform-win32 ::-webkit-scrollbar-thumb:hover {
  border-width: 1px !important;
  background-color: #2e2624 !important;
  cursor: pointer !important
}

@media only screen and (max-width: 840px) {
  .tips {
    transform: translateX(-50%) scale(.8) !important;
  }
}

@-webkit-keyframes sheikah-bg {
  0% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.2); opacity: .5; }
  100% { transform: scale(1); opacity: .8; }
}

@keyframes sheikah-bg {
  0% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.2); opacity: .5; }
  100% { transform: scale(1); opacity: .8; }
}

@-webkit-keyframes sheikah {
  0% { transform: translateY(0); }
  25% { transform: translateY(16px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(-16px); }
  100% { transform: translateY(0); }
}

@keyframes sheikah {
  0% { transform: translateY(0); }
  25% { transform: translateY(16px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(-16px); }
  100% { transform: translateY(0); }
}